package com.xhd.db;

import com.xhd.exception.*;
import java.sql.Driver;

public abstract interface DBPool {
	  public abstract int getIdleSize();

	  public abstract int getPoolSize();

	  public abstract int getTranLevel(boolean paramBoolean);

	  public abstract int getUsableSize();

	  public abstract boolean freeAllConn();

	  public abstract int getUseSize();

	  public abstract String getId();

	  public abstract int getDBType();

	  public abstract void freeConnection(DBConn paramDBConn);

	  public abstract DBConn getConnection()
	    throws DatabaseException;

	  public abstract DBConn getInnerConnection()
	    throws DatabaseException;

	  public abstract void setConfig(DBConfig paramDBConfig);

	  public abstract void setDriver(Driver paramDriver);
	}
